package com.gurid.service.cms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gurid.service.base.model.BaseEntity;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 广告推荐
 * </p>
 *
 * @author Gurid
 * @since 2024-05-30
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("cms_ad")
@Schema(name = "Ad", description = "广告推荐")
public class Ad extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "类型ID")
    private String typeId;

    @Schema(description = "图片地址")
    private String imageUrl;

    @Schema(description = "背景颜色")
    private String color;

    @Schema(description = "链接地址")
    private String linkUrl;

    @Schema(description = "排序")
    private Integer sort;
}
